Optimal. Leaf size=40 \[ -\frac{(b \sec (e+f x))^m \, _2F_1\left (1,\frac{m}{2};\frac{m+2}{2};\sec ^2(e+f x)\right )}{f m} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0416297, antiderivative size = 40, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {2606, 364} \[ -\frac{(b \sec (e+f x))^m \, _2F_1\left (1,\frac{m}{2};\frac{m+2}{2};\sec ^2(e+f x)\right )}{f m} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2606
Rule 364
Rubi steps
\begin{align*} \int \cot (e+f x) (b \sec (e+f x))^m \, dx &=\frac{b \operatorname{Subst}\left (\int \frac{(b x)^{-1+m}}{-1+x^2} \, dx,x,\sec (e+f x)\right )}{f}\\ &=-\frac{\, _2F_1\left (1,\frac{m}{2};\frac{2+m}{2};\sec ^2(e+f x)\right ) (b \sec (e+f x))^m}{f m}\\ \end{align*}
Mathematica [B] time = 0.804233, size = 124, normalized size = 3.1 \[ \frac{b \sec ^2\left (\frac{1}{2} (e+f x)\right ) (b \sec (e+f x))^{m-1} \left ((\cos (e+f x)+1) \, _2F_1(1,1-m;2-m;\cos (e+f x))-2^m \sec ^2\left (\frac{1}{2} (e+f x)\right )^{-m} \, _2F_1\left (1-m,1-m;2-m;\frac{1}{2} \cos (e+f x) \sec ^2\left (\frac{1}{2} (e+f x)\right )\right )\right )}{4 f (m-1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.521, size = 0, normalized size = 0. \begin{align*} \int \cot \left ( fx+e \right ) \left ( b\sec \left ( fx+e \right ) \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \sec \left (f x + e\right )\right )^{m} \cot \left (f x + e\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (b \sec \left (f x + e\right )\right )^{m} \cot \left (f x + e\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \sec{\left (e + f x \right )}\right )^{m} \cot{\left (e + f x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \sec \left (f x + e\right )\right )^{m} \cot \left (f x + e\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]